﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Fonour.Domain
{
    //指定任意类型作为主键
    public abstract class Entity<TPrimaryKey>
    {
        public virtual TPrimaryKey Id { get; set; }
    }
    //指定Guid类型作为主键

    public abstract class Entity : Entity<Guid>
    {

    }
}
